from processing.model.processing_queue import ProcessingQueue
from processing.shape.color import color


class IOQueue(ProcessingQueue):
    
    def __init__(self):
        ProcessingQueue.__init__(self)
        
    def configure(self):
        self.x = 150
        self.y = 400
        self.max         = 20
        self.itemsize    = 16
        self.margin      = 2
        self.description = "I/O queue"
        self.bg_color    = color.white
        self.exit_position(60, -50)
        self.enter_position(self.w - 60, -50)